package com.jnu.student;

import androidx.appcompat.app.AppCompatActivity;


import android.os.Bundle;
import android.widget.TextView;

public class MainActivity extends AppCompatActivity {
    private TextView textView;

    @Override//表示重载函数，多态
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        textView=this.findViewById(R.id.text_view_hello_world);
//        textView.setText(this.getResources().getText(R.string.str_hello));
    }
}
